Prev | Top | Contents
Index
[-]
-gprof
example
[.]
.Counts file
[3]
32-bit mode [1] [2]
data types
porting to n32
libraries
compatibility
n32 definition
definition
Also see n32
overflow
[4]
4.3 BSD extensions
[6]
64-bit mode
data types
libraries
64-bit mode [1] [2]
[A]
a.out files
address space
addresses, optimization
aliasing
and pointer placement
optimization
memory
analyzer, parallel
ar command
options
command syntax
ar command [1] [2]
architecture
instruction set
optimizing programs
archive libraries
archiver. See ar command
argument registers
arguments
store
arrays
optimization
as assembler
assembly language programs
porting to n32
assembly language programs, linking
[B]
basic block counting
inclusive
basic block counting. See profiling
bit masks
BLOCK DATA
BSD 4.3 extensions
build procedure
n32
[C]
C language
floating point
precompiled headers
C++
ld options
building DSOs
precompiled headers
language definitions
cache mapping, improve
CC compiler. See drivers
code
typedefs
porting to 64-bit system
porting to n32-bit systems
portable
overflow 32 bits
shifts
arithmetic
sizeof(void*)==4
sizeof(long)==4
sizeof(int)==sizeof(long)
sizeof(int)==sizeof(void*)
hints
assumptions
writing for 64-bit applications [1] [2]
signed ints
zero-extension
Common Object File Format
COMMON symbols
compiler back end
compiler drivers. See drivers<$nopa
compiler front end
compiler options. See drivers
compiler system
macros
predefined types
64-bit mode
n32-bit mode
32-bit mode
overview
components
compiling with ╨Bsymbolic
constant format strings
constants
negative values
conventions, syntax
copt optimizer
cord [1] [2]
╨feedback option
example
command options
feedback files
command syntax
cpp preprocessor
[D]
data alignment
optimizing
data type
signed
data types
sizes
debugging
floating points
driver options
dis command [1] [2]
options
command syntax
disabling traps
disassemble object file
dlclose()
dlerror()
dlopen()
dlsym()
do while, optimization
drivers
optimizing programs
as assembler
options to ld
options [1] [2]
defaults
input file suffixes
file name suffixes
╨non_shared
╨KPIC
╨show option
stages of compilation
omit linking
linking
╨c option
fec preprocessor
bypassing
f77/90 compiler
cc compiler [1] [2]
DSOs [1] [2] [3] [4]
versioning
mmap() system call
munmap() system call
dlclose()
unloading dynamically
dlerror()
dynamic loading diagnostics
dlsym()
sgidladd()
dlopen()
loading dynamically
converting libraries
search path
QuickStart registry file
registry files [1] [2]
C++
hiding symbols
exporting symbols
naming conventions
creating DSOs
building new DSOs
starting quickly
QuickStart [1] [2]
libraries, shared
shared libraries
guidelines
linking
DSOs
dump command. See elfdump
DWARF symbolic information
dwarfdump command [1] [2]
options
dynamic linking [1] [2] [3]
Dynamic Shared Objects. See DSOs
[E]
Elf object file
ELF. See executable and linking format
elfdump command [1] [2] [3]
options
command syntax
environment
optimizing programs
environment variables
64-bit compilation
32-bit compilation
n32-bit compilation
executable and linking format [1] [2] [3]
executable files
exporting symbols
extension
zero
sign
[F]
f77/90 compiler
fec preprocessor
bypassing
fecc preprocessor
fef77/90 preprocessor
fef77/90p analyzer
file command [1] [2]
example
command syntax
options
file type, determining
files
listing properties
precompiled header
include
header
naming conventions
executable
relocatable
float.h include file
floating points
debugging
optimization [1] [2]
format
object file [1] [2]
Fortran
optimization
floating point
functions
implicitly declared
[G]
global code motion
optimization
global offset table
global optimizer [1] [2]
GOT
guidelines
porting
[H]
header files [1] [2]
portable
precompiled
multiple languages
specification
high-order bit
[I]
IEEE
floating points
optimization
if-then-else statements
optimization
implicitly declared function
include files
inttypes.h
float.h
limits.h
n32
multiple languages
inclusive basic block counting
indirect
calls, using
input file names
int [1] [2]
integer
scaling
inttypes.h include file
[L]
ld
registry files
DSOs
C++
╨shared option
multilanguage programs
libraries, default search path
libraries, specifying
and assembly language programs
example
options [1] [2]
command syntax
link editor
dynamic linking [1] [2]
LD_BIND_NOW
LD_LIBRARY_PATH
lib.so functions
optimization
libdl
libraries
libdl
non-shared, converting to DSOs
paging
locality
global data
tuning
self-contained
static data
routines to exclude
routines to include
archive
specifying
header files
shared, static [1] [2]
shared [1] [2]
limits.h include file
linking
omit
dynamic. See ld [1] [2]
linking. See ld
loader
runtime. See rld
loading
symbols
local variables
optimization
long
loops
unrolling
inner, optimization
[M]
machine instructions
macro preprocessors
macros
typedefs
NARGSAVE
predefined
makefiles
maximum integer type
memory
referencing [1] [2]
MIPS Instruction Set Architecture
mmap() system call
mode
n32-bit
32-bit
64-bit
mon.out file. See profiling, pc sampling
multilanguage programs
and ld
header files
multiprocessed executables, profiling
munmap() system call
[N]
n32
runtime issues
build procedure
assembly language programs
source code changes
include files
porting environment
porting guidelines
libraries [1] [2]
n32-bit mode
naming source files
NARGSAVE macro
negative values
problems
nm command
example
character codes
options
command syntax
example of undefined symbol
undefined symbol
nm command [1] [2]
nprof [1] [2]
example
command options
command syntax
[O]
object file information
listing section sizes [1] [2]
symbol table information [1] [2]
listing file properties
using elfdump [1] [2]
using dwarfdump
disassemble
using
tools
format [1] [2]
operating system
64 bit [1] [2]
optimization [1] [2]
and register allocation
signed data types
libc.so functions
switch statements
tables
if-then-else statements
varargs.h
stdarg.h
STDARG
VARARG
addresses
pointers
subscripts [1] [2]
pointer placement
value parameters
variables, global vs. local
unions
do while
function return values
C [1] [2]
Fortran [1] [2]
global [1] [2]
tips for improving
options
optimizer
copt optimizer
optimizing programs
TENV
misalignment option
╨align option
data alignment
╨TENV
align_aggregates option
X option
small_GOT option
large_GOT option
shared code
target environment
╨TARG
processor option
madd option
isa=mips option
╨mips option
╨n32 option
╨32 option
╨64 option
target architecture
╨SWP
unroll_times_max option
trip_count_min option
interleave_reductions option
if_conversion option
fix_recurrences option
body_ins_count_max option
backtracks option
back_substitution option
software pipelining
╨GCM
postpass option
prepass option
static_load_speculation option
pointer_speculation option
array_speculation option
aggressive_speculation option
global code motion
IEEE floating points
transformations
roundoff
╨OPT
alias=name option
space option
rsqrt option
recip option
IEEE_comparisons option
fold_reassociate option
fast_sqrt option
fast_exp option
fast_complex option
div_split option
IEEE_arithmetic option
IEEE option
roundoff option
floating points [1] [2]
debugging
benefits
overflow of code
[P]
page size
paging
alignment
paging, reduce
parallel analyzer
parameters
optimization
pc compiler. See drivers
pc sampling. See profiling
pca analyzer
PIC. See position-independent code [1] [2] [3]
pixie [1] [2]
and nprof
and -gprof
and prof ╨pids
and prof ╨clock example
and prof ╨procedures example
and prof ╨lines example
and prof ╨heavy example
and prof ╨i example
output size
restricting output
.Counts file [1] [2]
setting search path
examples
command option
command syntax
pointer [1] [2]
pointer placement
and aliasing
example [1] [2]
pointers
optimization
example
global code motion
referencing memory
porting code
porting guidelines
position-independent code [1] [2] [3] [4]
precompiled header files [1] [2]
performance
controlling
deletion
reuse
requirements
automatic
preprocessing
preprocessors
macro
printf command
problems
scanf
printf
negative values
solving
constants
implicitly declared functions
sizeof(long)==4
sizeof(int)==sizeof(long)
sizeof(int)==sizeof(void*)
types
porting code
floating points
procedures, rearrange
prof
╨clock example
╨procedures example
╨lines example
╨heavy example
╨invocations example
Also see nprof.
Also see profiling
PROFDIR environment variable
profiling
multiprocessed executables
nprof
basic block counting
summing results
╨pids option
╨procedures option
example
procedure invocation example
╨g option
╨quit option [1] [2]
basic block counting [1] [2]
pc sampling
multiple data files
╨only option [1] [2]
╨p option
pc sampling
example
╨merge option
╨lines option
example
╨invocations option
example
╨heavy option
example
╨exclude option [1] [2] [3]
╨dso option
╨clock option
example
command options
command syntax
Also see nprof and prof
overview
profiling
[Q]
QuickStart DSOs. See DSOs, QuickStart [1] [2]
[R]
rearrange procedures
reduce paging
registers
temp
argument
allocation
registry file. See DSOs
relocatable files
relocation bits, removing
remove
relocation bits
symbol table
reorder procedures
resolve text symbols
return values, optimization
rld
dynamic linking
libdl
search path [1] [2]
roundoff
floating points
optimization
runtime issues
n32
runtime linker. See rld
[S]
scalar optimizer, copt
scalar variables
word size
scanf function
search path
rld [1] [2]
selecting
compilation mode
sgidladd()
shared code
optimizing
shared libraries, static
shared library [1] [2]
shared objects, dynamic
sign bit set
sign extension [1] [2]
signed data type
optimization
signed ints
64-bit code
size command [1] [2] [3] [4]
example
command syntax
size of object file
sizeof(int)==sizeof(long)
sizeof(int)==sizeof(void*)
sizeof(long)==4
sizeof(void*)==4 [1] [2]
software pipelining
enable/disable
source code
n32
source file names
STDARG. See optimization
stdarg.h
stdio.h header file
storing arguments
strings
scanf
printf
strip command [1] [2]
command options
command syntax
subscripts
example
optimization [1] [2]
suffixes
input files
switch statements
optimization
symbol resolution
symbol table
get listing
dumping data
removing
data
symbols
loading
exporting
syntax, conventions
[T]
temp registers
tools
procedure rearranger
inclusive basic block counting
traps
disable
troubleshooting
scanf
printf
negative values
solving problems
constants
implicitly declared functions
sizeof(void*)==4
sizeof(long)==4
sizeof(int)==sizeof(long)
sizeof(int)==sizeof(void*)
truncation of code
type, determining for files
typedefs [1] [2]
types
largest integer type
long
sizes
scaling integer
constants
change in size
int [1] [2]
pointer [1] [2]
assumptions
problems
typographical conventions
[U]
unions
optimization
[V]
VARARG. See optimization
varargs.h
variables
scalar
virtual address space
[W]
word-size scalar variables
[Z]
zero extension
zero-extension code
[╨]
╨32 option
See
╨64 option
╨Bsymbolic, compiling
╨c option
╨D__EXTENSIONS__ option
╨g option
╨KPIC option
╨n32 option
╨show option
Prev | Top | Contents